package com.ruoyi.basedocument.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 类别对象 t_bom_category
 * 
 * @author ruoyi
 * @date 2024-09-13
 */
public class BomCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 编码 */
    @Excel(name = "编码")
    private String number;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 车间 */
    @Excel(name = "车间",dictType = "bom_plant")
    private String cfplantid;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public String getCfplantid() {
        return cfplantid;
    }

    public void setCfplantid(String cfplantid) {
        this.cfplantid = cfplantid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .toString();
    }
}
